#ifndef DUMMYNET_H
#define DUMMYNET_H

#include <QObject>
#include <QString>
#include "netcomms.h"


class dummyNet : public netComms
{
    Q_OBJECT

public:
    dummyNet();
    bool login(QString server, QString username, QString password. int port = 0);
    QString getNextMsg();

public slots:
    int send(QString msg);

signals:
    void msgReceived();

private:
    QString echo;
//If this was a real server connection we would have a message buffer etc.

};

#endif // DUMMYNET_H
